package com.panda.mall.user.level.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.panda.mall.common.mallUser.entity.MallUserLevel;

import java.util.List;

/**
* @author tucy123
* @description 针对表【mall_user_level(用户等级表)】的数据库操作Service
* @createDate 2023-06-13 11:31:36
*/
public interface MallUserLevelService extends IService<MallUserLevel> {

    /**
     * 新增或修改商城等级
     * @param mallUserLevel
     * @return
     */
    String saveOrUpdateLevel(MallUserLevel mallUserLevel);

    /**
     * 查询全部商城等级
     * @return
     */
    List<MallUserLevel> queryList();

    /**
     * 查询商城等级详情
     * @param id
     * @return
     */
    MallUserLevel queryLevelById(Long id);

    /**
     * 删除商城等级
     * @param ids
     * @return
     */
    String deleteLevel(List<Long> ids);
}
